package com.jiantong.work.service.yangzhibaoxian;

import com.jiantong.work.model.yangzhibaoxian.InsuranceCheck;
import com.jiantong.work.model.yangzhibaoxian.InsuranceRetail;
import io.terminus.common.model.Paging;
import io.terminus.common.model.Response;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * Created by ThinkPad on 2017/9/5.
 */
public interface InsuranceRetailService {
    Response<InsuranceRetail> findById(Long id);

    Response<List<InsuranceRetail>> findByIds(List ids);

    Response<List<InsuranceRetail>> list(Map map);

    Response<Paging<InsuranceRetail>> ping(Integer offset, Integer limit, Map map);

    Boolean update(InsuranceRetail insuranceRetail);

    Long create(InsuranceRetail insuranceRetail);

    Integer creates(List<InsuranceRetail> insuranceRetailList);

}
